package com.example.bookseckill.service;

import com.example.bookseckill.entity.to.SeckillSkuRedisTo;

import java.util.List;

public interface SeckillService {
    /**
     * 上架3天需要的秒杀
     */
    void uploadSeckillSkuLatest3Days();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    String kill(String killId, String key, Integer num) throws InterruptedException;
}
